package com.zan.principles.demo2.after;

/**
 * @Author Zan
 * @Create 2024/4/22 21:01
 * @Description : 长方形类
 * @ClassName: Rectangle
 */
public class Rectangle implements Quadrilateral {

    private double length;

    private double width;

    public void setLength(double length) {
        this.length = length;
    }

    public void setWidth(double width) {
        this.width = width;
    }

    @Override
    public double getLength() {
        return length;
    }

    @Override
    public double getWidth() {
        return width;
    }
}
